<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="./lib/react.development.js"></script>
    <script src="./lib/react-dom.development.js"></script>
    <script src="./lib/babel.min.js"></script>
</head>

<body>
    <div id="root"></div>
</body>
<script type="text/babel">
    const root = ReactDOM.createRoot(document.querySelector("#root"));
    let styles = {
        width: 100,
        height: 100,
        background: 'red'
    }
    root.render((
        <div>
            <div style={styles}>1231</div>
            <div style={{width:300,height:300,border:'1px solid red'}}>222</div>
        </div>
    ))
</script>

</html>